package com.cswnode.demo.enums;

/**
 * @author csw
 * @create 2021/1/29 14:11
 */

public enum typeEnum {
    /**
     * 管理员身份
     */
    ADMIN("0","管理员"),
    /**
     * 学生身份
     */
    STUDENT("2","学生"),
    /**
     * 企业身份
     */
    ENTERPRISE("1","企业");


    typeEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }

    private String code;
    private String name;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
